//app.js
App({
  onLaunch: function () {
    //调用API从本地缓存中获取数据
    var configData = wx.getStorageSync('configData') || [
      {id:"lilunCon",title:"立论环节",hidden:false,maxTime:3,currTime:180,sound:15,descZheng:"正方立论",descFan:"反方立论"},
      {id:"bolunCon",title:"驳立论环节",hidden:false,maxTime:120,currTime:120,sound:15,descZheng:"正方驳立论",descFan:"反方驳立论"},
      {id:"zhibianCon",title:"置辩环节",hidden:false,maxTime:120,currTime:120,sound:15,descZheng:"正方置辩",descFan:"反方置辩"},
      {id:"ziyouCon",title:"自由辩论环节",hidden:false,maxTime:300,currTime:300,sound:15,descZheng:"正方自由辩论",descFan:"反方自由辩论"},
      {id:"zongjieCon",title:"总结陈词环节",hidden:false,maxTime:120,currTime:120,sound:15,descZheng:"正方总结陈词",descFan:"反方总结陈词"},
    ]   
    wx.setStorageSync('configData', configData);
  }
})